package com.yxjwzpx.management.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 维保人员对象 maintenance_staff
 * 
 * @author yxjwzpx
 * @date 2025-04-09
 */
public class MaintenanceStaff extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 维保人员ID，主键 */
    private Long staffId;

    /** 所属维保公司ID */
    @Excel(name = "所属维保公司ID")
    private Long companyId;

    /** 人员姓名 */
    @Excel(name = "人员姓名")
    private String staffName;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phone;

    /** 职位/专业（如技师、电工等，可选） */
    @Excel(name = "职位/专业", readConverterExp = "如=技师、电工等，可选")
    private String position;

    /** 在职状态（0=在职，1=离职或不活跃） */
    @Excel(name = "在职状态", readConverterExp = "0==在职，1=离职或不活跃")
    private String status;

    public void setStaffId(Long staffId) 
    {
        this.staffId = staffId;
    }

    public Long getStaffId() 
    {
        return staffId;
    }

    public void setCompanyId(Long companyId) 
    {
        this.companyId = companyId;
    }

    public Long getCompanyId() 
    {
        return companyId;
    }

    public void setStaffName(String staffName) 
    {
        this.staffName = staffName;
    }

    public String getStaffName() 
    {
        return staffName;
    }

    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public void setPosition(String position) 
    {
        this.position = position;
    }

    public String getPosition() 
    {
        return position;
    }

    public void setStatus(String status) 
    {
        this.status = status;
    }

    public String getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("staffId", getStaffId())
            .append("companyId", getCompanyId())
            .append("staffName", getStaffName())
            .append("phone", getPhone())
            .append("position", getPosition())
            .append("status", getStatus())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
